<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>${sessionScope.category}-${sessionScope.title}</title>
<script type="text/javascript" src="/PLDCarWeb/utils.js"></script>
<link type="text/css" rel="stylesheet" href="rte/rte.css" />
<link type="text/css" rel="stylesheet" href="/PLDCarWeb/manage/manage.css" />
<script type="text/javascript" src="display.js"></script>
<style type="text/css">
body, textarea {
    font-family:sans-serif;
    font-size:12px;
}
</style>

</head>
<body onload="pageLoad();">
<div id="SettingsBody">
	<div id="back"><a href="manageHome.jsp">返回后台管理首页</a>
	</div>
	<div id="title">${sessionScope.title}<input type="button" id="saveSettings" value="保存" onclick="modifySettings();"/></div>
	<div id="divSettings">
		<p><textarea name="description" id="settingsContent" class="rte-zone"></textarea></p>
		<span id="returnMsg"></span>
		<form id="frmModifySettingsImg" name="frmModifySettingsImg" method="post"  action="modifySettings.action" enctype="multipart/form-data">
			<div id='divImgs'>
				<table id="tbCurrentImgs"></table>
				<table id="tbMoreImgs"></table>
			</div>
			<div>
				<input type="button" value="添加图片" id="addMoreImg" onclick="addRow(document.getElementById('tbMoreImgs'));"/>
				
			</div>
			<textarea name="settings.setValue" id="realContent" style="display:none"></textarea>
		</form>
		<script type="text/javascript" src="rte/jquery.js"></script>
		<script type="text/javascript" src="rte/jquery.rte.js"></script>
		<script type="text/javascript">
			$('.rte-zone').rte('rte.css', 'rte/');
		</script>
	</div>
</div>
</body>
</html>
